module.exports = {
  value: {
    type: String,
    default: '',
    name: '搜索值',
    filedType: 'value'
  },
  label: {
    type: String,
    default: '',
    name: '左侧文本',
    filedType: 'string'
  },

  background: {
    type: String,
    default: '#fff',
    name: '搜索框外部背景色',
    filedType: 'color'
  },
  maxlength: {
    type: String,
    default: '20',
    name: '最大字符数',
    filedType: 'string'
  },
  placeholder: {
    type: String,
    default: '请输入搜索关键字',
    name: '搜索关键字',
    filedType: 'string'
  },
  shape: {
    type: String,
    default: 'round',
    name: '搜索框形状',
    filedType: 'select',
    options: [
      {
        name: 'square',
        value: 'square'
      },
      {
        name: 'round',
        value: 'round'
      }
    ]
  },
  clearable: {
    type: Boolean,
    default: true,
    name: '启用清除图标',
    filedType: 'switch'
  },
  showaction: {
    type: Boolean,
    default: false,
    name: '右侧显示取消按钮',
    filedType: 'switch'
  },
  actiontext: {
    type: String,
    default: '取消',
    name: '取消按钮文字',
    filedType: 'string'
  },
  inputalign: {
    type: String,
    default: 'left',
    name: '输入框内容对齐方式',
    filedType: 'select',
    options: [
      {
        name: 'left',
        value: 'left'
      },
      {
        name: 'center',
        value: 'center'
      },
      {
        name: 'right',
        value: 'right'
      }
    ]
  }

}
